package com.tanxi521.tnweb.service;

import com.tanxi521.tnweb.model.MailBoxFile;
import com.tanxi521.tnweb.model.PlayerAccount;
import com.tanxi521.tnweb.model.PlayerPageInfo;

import javax.servlet.http.HttpSession;

public interface PlayerAccountService {
    int getPlayerCount();

    int getOnlineNums();

    PlayerAccount queryPlayerByPlayerId(int id);

    PlayerAccount queryPlayerByPlayerName(String mcId, String mcPassword, HttpSession session) throws Exception;

    PlayerPageInfo getPlayerInfo(String userId);

    Object deBoundMc(HttpSession session, String mcPassword);

    MailBoxFile giveBoundRewards(String mcId);
}
